
/**custom**/

@information: ~"@{css-prefix}information";
@information-wrap: ~"@{css-prefix}information-wrap";
@information-list: ~"@{css-prefix}information-list";
@information-tabs: ~"@{css-prefix}information-tabs";

.@{information} {
  width: 100px;
  .@{information-wrap} {
    width: 30px;
    height: 30px;
    position: relative;
    .sh-information-num {
      position: absolute;
      line-height: 14px;
      text-align: center;
      width: 14px;
      height: 14px;
      background-color: red;
      border-radius: 50%;
      z-index: 9999;
      top: -4px;
      right: -4px;
      font-size: 12px;
      color: #fff;
    }
    .sh-information-msg {
      position: absolute;
      z-index: 1000;
      background-color: #fff;    
      box-shadow: 0 0 14px 4px #ddd;
      border-radius: 2px;
      height: 260px;
      display: flex;
      flex-flow: column nowrap;
      .@{information-tabs} {
        width: 100%;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        border-bottom: solid 1px #ddd;
        li {
          width: 100%;
          height: 100%;
          font-size: 12px;
          cursor: pointer;
          padding: 0 10px;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          position: relative;
          .tabs-text {
            margin-bottom: -4px;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            -webkit-user-select: none;
          }
          .lint-bar {
            position: absolute;
            bottom: -1px;
            left: 10%;
            right: 10%;
            // width: 100%;
            height: 2px;
            background-color: rgb(115, 223, 250);
          }
          .activeTab {
            border-bottom: solid 2px rgb(65, 217, 255);

          }
        }

      }
      .@{information-list} {
        left: 0;
        width: 100%;
        flex: 1 1;
        overflow: auto;
        &-loading, &-empty {
          height: 100%;
          display: flex;
          justify-content: center;
          align-items: center;
          color: #ccc;
        }
        &-content {
          padding: 0 14px;
          &-text {
            height: 40px;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
          }
          .sh-list-wrap {
            padding: 6px 0;
            border-bottom: solid 1px #ddd;
            display:flex;
            flex-direction: row;
            align-items: center;
            &-photo {
              width: 40px;
              height: 40px;
              margin-right: 10px;
              background-color: greenyellow;
              border-radius: 50%;
              display: flex;
              align-items: center;
              justify-content: center;
            }
            &-body {
              flex: 1 1;
              display:flex;
              flex-direction: column;
              justify-content: space-between;
              &-title {
                font-size: 12px;
              }
              &-msg {
                font-size: 12px;
                color: #666;
                text-overflow: -o-ellipsis-lastline;
                overflow: hidden;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                line-clamp: 2;
                -webkit-box-orient: vertical;
                margin: 10px 0;
              }
              &-date {
                font-size: 12px;
                // color: #666666;
              }
            }
          }
        }
        &-content:last-child {
          border-bottom: none;
        }
        &-content:hover {
          background-color: rgb(214, 245, 255);
        }
      }
      .sh-clear{
        font-size: 14px;
        height: 30px;
        line-height: 30px;
        border-top: solid 1px #ddd;
        text-align: center;
        cursor: pointer;
        -webkit-user-select: none;
      }
      .sh-Banned-click {
        cursor:no-drop;
        color: #ccc;
      }
    }
  }
}